package com.weixing.mall.provider.model.dto;


import com.weixing.mall.base.enums.WhetherEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "前端退货APP仓库入库")
public class APPDepotDto {
    @ApiModelProperty(value = "仓库id，请传递APP仓库id号")
    @NotNull(message = "仓库id，不能为空")
    private Long  depotId;
    @ApiModelProperty(value = "货品id")
    @NotNull(message = "货品id不能为空")
    private Long  productId;
    @ApiModelProperty(value = "仓库编码")
    private  String  depotSn;
    @ApiModelProperty(value = "仓库库位")
    private  String  depotLocation;
    @ApiModelProperty(value = "序号")
    @NotNull(message = "仓库序号不能为空")
    private  String  depotOrder;
    @ApiModelProperty(value = "换货")
    @NotNull(message = "换货不能为空")
    private WhetherEnum isExcGoods;
    @ApiModelProperty(value = "售后ID")
    @NotNull(message = "售后ID")
    private Long afterSaleId;
    @ApiModelProperty(value = "备注")
    @NotNull(message = "备注")
    private  String remark;
    @ApiModelProperty(value = "订单ID")
    @NotNull(message = "订单ID")
    private  Long orderId;
}
